/*
 * @Author: Seven
 * @Date: 2022-05-12 15:16:42
 * @LastEditors: Seven
 * @LastEditTime: 2022-05-12 16:42:43
 * @FilePath: \bnch-admin\src\utils\get-page-title.js
 * @Description:
 */
import defaultSettings from "@/settings";

const title = defaultSettings.title || "Bnch Admin";

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`;
  }
  return `${title}`;
}
